// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-05-16',
  modules: [
    '@nuxtjs/tailwindcss',
    '@vueuse/nuxt',
    '@element-plus/nuxt',
    [
      '@pinia/nuxt',
      {
        autoImports: ['defineStore', 'storeToRefs']
      }
    ],
    'nuxt-lodash'
  ],
  css: ['~/assets/css/global.scss'],
  devtools: { enabled: true },
  app: {
    head: {
      title: 'Quidditch-后台-低代码',
      meta: [
        { name: 'author', content: 'Souley' },
        {
          name: 'description',
          content: '魁地奇准对后台系统的低代码平台'
        },
        {
          name: 'keywords',
          content: '低代码,后台,提效'
        }
      ]
    }
  }
})
